<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html>
<html lang="zh-cn">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
    <meta name="renderer" content="webkit">
    <title><?php echo ($title); ?></title>
    <link rel="stylesheet" href="/Public/web/css/pintuer.css">
    <link rel="stylesheet" href="/Public/web/css/admin.css">
    <script src="/Public/web/js/jquery.js"></script>
    <script src="/Public/web/js/pintuer.js"></script>
    <script src="/Public/web/js/main.js"></script>
</head>

<body>

  <div class="panel admin-panel">
    <div class="panel-head"><strong class="icon-reorder">套餐列表</strong></div>
    <div class="padding border-bottom">
      <ul class="search" style="padding-left:10px;">
        <li> <a class="button border-main icon-plus-square-o" href="<?php echo U('jurisdiction/edit');?>"> 添加套餐</a></li>
      </ul>
    </div>
    <table class="table table-hover text-center">
      <tr>
        <th width="100" style="text-align:left; padding-left:20px;">ID</th>
        <th>名称</th>
        <th width="310">操作</th>
      </tr>
      <?php if(is_array($list)): foreach($list as $key=>$v): ?><tr>
          <td style="text-align:left; padding-left:20px;"><?php echo ($v['package_id']); ?></td>
          <td><?php echo ($v['package_name']); ?></td>
          <td>
              <div class="button-group">
                  <a class="button border-main" href="<?php echo U('jurisdiction/edit',array('id'=>$v['package_id']));?>"><span class="icon-edit"></span> 修改</a>
              </div>
          </td>
        </tr><?php endforeach; endif; ?>
      <tr>
        <td colspan="10"><div class="pagelist"><?php echo ($page); ?></div></td>
      </tr>
    </table>
  </div>
</body>
</html>